<?php

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;
use \Illuminate\Routing\Router;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
use \App\Http\Controllers\Api\Web\User\UserController;
use \App\Http\Controllers\Api\Wap\User\UserController as WapUserController;

Route::group(['prefix'=>''],function (Router $router){

});

Route::group(['prefix'=>'web'],function (Router $router){
    $router->get('index',[UserController::class,'index']);
});

Route::group(['prefix'=>'wap'],function (Router $router){
    $router->get('index',[WapUserController::class,'index']);
});
